package com.hyl.controller;

import com.hyl.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * UserController
 *
 * @author hyl
 * @date 2025-06-20
 */
@Controller
public class UserController {

    @Autowired(required = false) //首先匹配类型=》在根据名称匹配
    private UserService userService;

//    @Resource //首先根据名称匹配=》在根据类型匹配
//    private UserService userServiceTmp;
}
